#ifndef RESOURCESWIDGET_H
#define RESOURCESWIDGET_H
#include "filemanager.h"
#include "resourcelistwidget.h"
#include <QDragEnterEvent>
#include <QDockWidget>
#include <QDropEvent>
#include <QMimeData>
#include <QUrl>
#include <QDebug>
#include "eventcenter.h"
class ResourcesWidget:public QDockWidget
{
    Q_OBJECT
public:
    explicit ResourcesWidget();
    ~ResourcesWidget();
    virtual void dragEnterEvent(QDragEnterEvent *event);
    virtual void dropEvent(QDropEvent *event);
private:
    enum fileType{
       PICTURE,
       MUSIC,
       VIDEO
    };
    QString resourcePath = "../MyGame/Resources";
    QString currentPath = resourcePath;
    void InitFolder();
};

#endif // RESOURCESWIDGET_H
